﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterPage.Master" AutoEventWireup="true" CodeBehind="RegistrarUsuario.aspx.cs" Inherits="TodoSuspensionWeb.RegistrarUsuario" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            height: 36px;
        }
        .style5
        {
            height: 37px;
        }
        .style7
        {
            height: 47px;
        }
        .style8
        {
            height: 39px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">

     <div id="box2">
        <br />
        <asp:Image ID="Image1" runat="server" Height="332px" ImageUrl="~/Imagenes/RegUsuario.jpg"
            Width="342px" />
    </div>

    <div id="box3">
        <br />
        <table width="100%" border="0" cellpadding="0" cellspacing="0" 
            style="height: 418px" >
            
            <tr>
                <td>

                </td>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <h2 style="color: #000000; width: 195px; margin-top: 2px; margin-left: 15px;">Registrar Usuario</h2>
                </td>

            </tr>

                

            <tr>
                <td align="right" valign="top" class="style3">
                    <font color="#FF0000">* </font>Nombre
                </td>


                <td width="100%" align="left" class="style3" valign="top">
                    <asp:TextBox ID="txtNombre" runat="server" 
                        Style="margin-left: 9px; margin-top: 0px;" Width="259px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNombre"
                        ErrorMessage="Ingrese NOMBRE" ForeColor="Red">*</asp:RequiredFieldValidator>
                    
                    &nbsp;&nbsp;
                </td>
            </tr>

            <tr>
                <td align="right" valign="top" class="style5">
                    <font color="#FF0000">* </font>Apellido
                </td>

                <td class="style5">
                    &nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtApellido" 
                        runat="server" Width="259px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtApellido"
                        ErrorMessage="Ingrese APELLIDO" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>

            <tr>
                <td align="right" valign="top" class="style3">
                    <font color="#FF0000">* </font>E-mail
                </td>
                <td width="100%" align="left" class="style3" valign="top">
                    <asp:TextBox ID="txtEmail" runat="server" Style="margin-left: 9px; margin-top: 0px;
                        margin-bottom: 0px;" Width="259px" Height="21px" 
                        ontextchanged="txtEmail_TextChanged"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                        ErrorMessage="Ingrese EMAIL valido" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmail"
                        ErrorMessage="Ingrese EMAIL" ForeColor="Red">*</asp:RequiredFieldValidator>
                   
                    &nbsp;&nbsp;
                    
                </td>
            </tr>
            <tr>
                <td align="right" valign="top" class="style7">
                    <font color="#FF0000">*</font> Usuario&nbsp;
                </td>
                <td width="100%" align="left" class="style7" valign="top">
                    <asp:TextBox ID="txtUsuario" runat="server" Style="margin-left: 9px" 
                        Width="259px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtUsuario"
                        ErrorMessage="Ingrese NOMBRE USUARIO" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top" class="style8">
                    <font color="#FF0000">*</font>Contraseña
                </td>
                <td width="100%" align="left" class="style8" valign="top">
                    &nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtContraseña" runat="server" Width="259px" 
                        TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtContraseña"
                        ErrorMessage="Ingrese CONTRASEÑA" ForeColor="Red">*</asp:RequiredFieldValidator>
                    <br />
                    &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                </td>

                <td>
                    <asp:Button ID="btnRegistrar" runat="server" Text="Registrarme" 
                        onclick="btnRegistrar_Click" style="margin-left: 44px" Width="104px" />
                </td>
            </tr>
            <tr>
                <td align="right" valign="top">
                    &nbsp;
                </td>
                <td width="100%" align="left" class="form_inputs" valign="top">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="lblMensajeError" runat="server"></asp:Label>
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" 
                        style="margin-top: 7px" />
                </td>
            </tr>
            
            </table>
        <br />
        <br />
        <br />
        <br />
    </div>


</asp:Content>
